﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.TrayVMs
{
    public partial class TrayBatchVM : BaseBatchVM<Tray, Tray_BatchEdit>
    {
        public TrayBatchVM()
        {
            ListVM = new TrayListVM();
            LinkedVM = new Tray_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Tray_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Tray._TrayName")]
        public string TrayName { get; set; }
        [Display(Name = "_Model._Tray._TrayDescription")]
        public string TrayDescription { get; set; }
        [Display(Name = "_Model._Tray._TrayStatus")]
        public string TrayStatus { get; set; }
        [Display(Name = "_Model._Tray._Note")]
        public string Note { get; set; }
        [Display(Name = "_Model._Tray._TrayLine")]
        public string TrayLine { get; set; }
        [Display(Name = "_Model._Tray._TrayStation")]
        public string TrayStation { get; set; }
        [Display(Name = "_Model._Tray._UsedTimes")]
        public int? UsedTimes { get; set; }
        [Display(Name = "_Model._Tray._PlannedTimes")]
        public int? PlannedTimes { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}